/*
 * Data.h
 *
 *  Created on: Oct 26, 2011
 *      Author: andrey e clayson
 */

#ifndef DATA_H_
#define DATA_H_

#include <cstdlib>
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
typedef struct{
	int x,y;
}Point;

class Data {
private:
	Point grid_position;
	double *features;
	int ID,cluster,number_features;
	bool status;
public:
	Data();
	void set_ID(int id);
	int get_ID(void);
	void set_cluster(int c);
	int get_cluster(void);
	void set_grid_position(Point p);
	Point get_grid_position(void);
	void set_status(bool s);
	bool get_status(void);
	void set_number_features(int n);
	int get_number_features(void);
	void set_features(double *v);
	double *get_features(void);

	void print_data(void);
	virtual ~Data();
};

#endif /* DATA_H_ */
